# Options in the Diagnostics List Setup editor

The following table shows the options in the Diagnostics List Setup editor.

Options | Descriptions
--- | ---
Log messages to printer when |
Error occurs | Check this box to print the error message when an error occurs. An error message indicates a significant problem which severely degrades functionality.
Warning occurs | Check this box to print the warning message when a warning occurs. An warning message indicates that the product still runs but is not right.
Information occurs | Check this box to print the information message when an information message occurs. Information messages document the essential purpose of an application.
Audit occurs | Check this box to print the audit message when an audit message occurs. Audit messages indicate activities essential to the purpose of the application.
Runtime display |
Display name | The default graphic display is called [DIAGNOSTICS]. If you don’t want to use the default display, specify a graphic display that contains a diagnostics list object. To select from a list of the graphic displays in the application, click the Browse button.
Edit | Click this button to open the selected graphic display for editing.
Open display automatically when |
Error occurs | Check this box to open the specified display whenever a new error occurs.
Warning occurs | Check this box to open the specified display whenever a new warning occurs.
Information occurs | Check this box to open the specified display whenever a new information message occurs.
Audit occurs | Check this box to open the specified display whenever a new audit message occurs.
Maximum number of messages | Type the maximum number of messages to store in memory, up to 2000. When this number is reached, the oldest message is deleted to make room for a new message.

Tip: | If you set up your own display, use a display type of On Top, otherwise an error will be generated when the runtime application is created. You can also select the Cannot Be Replaced option. This means that, when a message occurs, your display will open on top of the current display, and will remain open until the operator closes it. You can use the diagnostics buttons with your display. If you do not want the diagnostics display to open automatically, clear all the check boxes. You can still display diagnostics messages in any diagnostics list graphic object in any graphic display. Create a goto display button that the operator can use to open the graphic display containing the diagnostics list.

## See also

Set up Diagnostics for development

How the diagnostics list works at run time

Create diagnostics lists

Create Diagnostics buttons

Create Goto Display buttons